package com.ll.homework;

/**
 * @author 刘龙
 * @version 1.0
 * 测试类
 */
public class Homework06 {
    public static void main(String[] args) {
        Person person = new Person("唐僧", new Horse());
        person.common();
        person.passRiver();
        person.common();
        person.fireMountain();

    }
}


